﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PapersMaintain.aspx.cs" Inherits="OA.Exam.PapersMaintain" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>维护试卷</title>
    <link href="../Themes/Default/Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
          <table width="98%">
            <tr>
                <td colspan="2" class="TitleZone">
                    <asp:Label ID="LblTitle" runat="server" Text="新增试卷"></asp:Label>
                    <input id="HiddenMark" type="hidden" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <asp:Label ID="LabPrompt" runat="server" Text="" ForeColor="Red"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width:10%">
                    试卷名称
                </td>
                <td>
                    &nbsp;<asp:TextBox ID="TxtPaperName" CssClass="inputText" runat="server" Width="200px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RfvName" runat="server" ErrorMessage="试卷名称不能为空" ControlToValidate="TxtPaperName"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width:10%">
                    试卷描述
                </td>
                <td>
                    &nbsp;
                     <asp:TextBox ID="TxtDes" runat="server" CssClass="inputText" TextMode="MultiLine" Width="700px" Height="150px"></asp:TextBox>
                </td>
            </tr>
            <%--<tr>
                <td>
                    总分
                </td>
                <td>
                    &nbsp;<asp:TextBox ID="TxtScore" runat="server" CssClass="inputText"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ErrorMessage="请输入数字" ControlToValidate="TxtScore" Type="Integer" 
                        Display="Dynamic" Operator="DataTypeCheck"></asp:CompareValidator>
                </td>
            </tr>--%>
            <tr>
                <td>
                    时长
                </td>
                <td>
                    &nbsp;<asp:TextBox ID="TxtExamTime" runat="server" CssClass="inputText"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator2" runat="server" ErrorMessage="请输入数字" ControlToValidate="TxtExamTime" Type="Integer" Display="Dynamic" Operator="DataTypeCheck"></asp:CompareValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="BtnSave" runat="server" Text="保存并设置题目" CssClass="inputButton" 
                        onclick="BtnSave_Click" />
                    <asp:Button ID="BtnBack" runat="server" Text="返回" CausesValidation="false" 
                        CssClass="inputButton" onclick="BtnBack_Click" />
                </td>
            </tr>
        </table>

    </div>
    </form>
</body>
</html>
